﻿using DA;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BL
{
    public class BomBL
    {
        BomDA  bomDA;

        public BomBL()
        {
            bomDA = new BomDA();
        }

        public DataSet timKiemBomSanPham(string maSanPham)
        {
            return bomDA.timKiemBomSanPham(maSanPham);
        }

        public void updateBomSanPham(DataTable dt)
        {
            bomDA.danhSachBomSanPhamAdapter.Update(dt);
        }
    }

}
